package com.devilvan.betrice.sinofinance.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.devilvan.betrice.sinofinance.controller.SinaUsstockQuotesController;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;

/**
 * @author Evad.Wu
 * @Description {@link SinaUsstockQuotesController#doSinaUsstockQuotesCrawler} 采集器 值对象
 * @date 2023-03-21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "{@link SinaUsstockQuotesController#doSinaUsstockQuotesCrawler} 采集器 值对象")
public class SuqCrawlerRequestVo {
    @NonNull
    @Schema(description = "url")
    @JSONField(alternateNames = {"url"})
    private String url;
    @Schema(description = "页数")
    @JSONField(alternateNames = {"page"})
    private Integer page;
    @Schema(description = "范围")
    @JSONField(alternateNames = {"range"})
    private Integer[] range;
    @NonNull
    @Schema(description = "页面大小")
    @JSONField(alternateNames = {"num"})
    private Integer num;
    @Schema(description = "交易所")
    @JSONField(alternateNames = {"market"})
    private String market;
    @Schema(description = "股票ID")
    @JSONField(alternateNames = {"id"})
    private String id;


}
